﻿<Window x:Class="ControlIPApp.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="418" Width="578" AllowDrop="False" xmlns:my="clr-namespace:ControlIPApp" xmlns:metro="http://schemas.codeplex.com/elysium/theme" xmlns:my1="clr-namespace:Elysium.Theme.Controls.Primitives;assembly=Elysium.Theme" Loaded="Window_Loaded">
    <Border BorderBrush="Silver" BorderThickness="1" Height="auto" Name="border1" Width="auto">
        
        <Grid Height="auto" Name="tbMain" Width="auto">

            
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="65*" />
                
                
                <ColumnDefinition Width="219*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="20*" />
                <RowDefinition Height="289*" />
            </Grid.RowDefinitions>
            <Grid Grid.Row="1" HorizontalAlignment="Stretch" Name="grid2">
                <Grid Margin="2,0,0,0">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="32"/>
                        <RowDefinition Height="32"/>
                        <RowDefinition Height="32"/>
                        <RowDefinition Height="44"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="10"/>
                        <ColumnDefinition Width="32"/>
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <Label x:Name="lbAdd" Content="Adicionar" Grid.Column="2" Margin="4,0,0,0" FontSize="16" FontWeight="Light" VerticalContentAlignment="Center" HorizontalContentAlignment="Stretch" Padding="0" MouseDoubleClick="Label_MouseDoubleClick_1" MouseDown="lbAdd_MouseDown"/>
                    <Label x:Name="lbSelect" Content="Consultar" Grid.Column="2" Margin="4,0,0,0" FontSize="16" FontWeight="Light" VerticalContentAlignment="Center" HorizontalContentAlignment="Stretch" Padding="0" Grid.Row="1" MouseDown="Label_MouseDown_1"/>
                    <Label Content="Opções" Grid.Column="2" Margin="4,0,0,0" FontSize="16" FontWeight="Light" VerticalContentAlignment="Center" HorizontalContentAlignment="Stretch" Padding="0" Grid.Row="2"/>
                    <Image Grid.Column="1" HorizontalAlignment="Left" Height="32" Margin="0" VerticalAlignment="Top" Width="32" Grid.ColumnSpan="2"/>
                    <Image Grid.Column="1" HorizontalAlignment="Left" Height="32" Margin="0" VerticalAlignment="Top" Width="32" Grid.RowSpan="2" Grid.Row="1" Source="Images/icons/search.png" Stretch="UniformToFill" />
                    <Image HorizontalAlignment="Left" Height="32" Margin="0" VerticalAlignment="Top" Width="32" Grid.Row="2" RenderTransformOrigin="0.469,1.844" Grid.Column="1"/>
                </Grid>
            </Grid>
            <Grid Grid.Column="1" HorizontalAlignment="Stretch" Margin="0,2,0,3" Name="tbFormActions" VerticalAlignment="Stretch" Width="Auto">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="334*" />
                    <ColumnDefinition Width="20*" />
                    <ColumnDefinition Width="2*" />
                    <ColumnDefinition Width="20*" />
                    <ColumnDefinition Width="2*" />
                    <ColumnDefinition Width="20*" />
                </Grid.ColumnDefinitions>
            </Grid>
            <Grid Grid.Column="1" Margin="0" Grid.Row="1">
                <Grid.RowDefinitions>
                    <RowDefinition Height="30"/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
                <Image HorizontalAlignment="Right" Height="30" Margin="0,0,9,0" RenderTransformOrigin="0.456,0.017" Width="30" VerticalAlignment="Bottom" Source="Images/Folders-OS-User-No-Frame-Metro-icon.png"/>
                <Label x:Name="lbName" Content="Label" Margin="0,0,48,0" Padding="0" FontWeight="Light" FontSize="14" HorizontalAlignment="Right" Height="16" VerticalAlignment="Top"/>
                <Label x:Name="lbUserName" Content="Label" Margin="0,16,48,0" VerticalAlignment="Top" Height="13" Padding="0" FontWeight="Light" FontSize="11" HorizontalAlignment="Right"/>
                <DockPanel x:Name="dockPanel1" LastChildFill="False" Margin="0" Grid.Row="1"/>
            </Grid>
        </Grid>
    </Border>
</Window>
